package day08.play;

public class TestHotDog {
    public static void main(String[] args) {
        //创建对象
        HotDog hd = new HotDog();
        //初始化
        hd.h = 10;
        hd.w = 10;
        hd.x = 178;
        hd.y = 0;
        hd.img = "热狗图";

        //打印
        hd.print();
        //移动
        hd.step();
        hd.print();

    }
}
